package com.fang.gulimall.admin.infrastructure.filter;

import jakarta.servlet.*;

import java.io.IOException;

/**
 * @ClassName TestFilter
 * @Description 过滤器模板代码
 * @Author fangge
 * @Date 2024/6/12 23:08
 */
public class TestFilter implements Filter {

    @Override
    public void init(FilterConfig filterConfig) {

    }

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
            throws IOException, ServletException {
        // 实现你的逻辑
        chain.doFilter(request, response);
    }

    @Override
    public void destroy() {

    }
}
